<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let x = Symbol('admin')
    let y = Symbol('admin')
    console.log(x == y);

    let person = {}
    let name1 = Symbol('name')
    let name2 = Symbol('name')
    console.log(name1);
    console.log(name2);
    person[name1] = '张三'
    person[name2] = '李四'
    console.log(person);
  </script>
</body>

</html>